#pragma once
# include <string>

namespace ZDSJ {
	class LogStreamInterface;
	class Work {
		friend class Logger;
	public:
		void work() const;
		~Work();
	private:
		Work(const std::string& _data, LogStreamInterface* _worker);

		std::string* m_data = nullptr;
		LogStreamInterface* m_worker = nullptr;
	};

}